import axios from "@/util/request.js";
import base from '../base.js'

export const home = {
  getCompanyList: (data)=>axios.post(`${base.baseUrl}/company/list/page`,data),
  getCompanyPositionList: (data)=>axios.get(`${base.baseUrl}/company/list/position?companyId=${data}`),
  getPositionByCompany:()=>axios.get(`${base.baseUrl}/company/list/position/with/company`),
}